public class MySorting
{
	int count,count1;
	int c;
	public int[] sortlogic(int[] inputarray,int size)
	{
		for(count=0;count<=size-1;count++)
		{
			for(count1=count+1;count1<=size-1;count1++)
			{
				if(inputarray[count]>inputarray[count1])
				{
					c=inputarray[count];
					inputarray[count]=inputarray[count1];
					inputarray[count1]=c;
				}
			}
		} 
		return inputarray;
	}

}